/**
 * 
 */
package com.demo2do.fms.admin.service.supplier.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.fms.admin.dao.supplier.EsbBlackWhiteListScoreDao;
import com.demo2do.fms.admin.service.supplier.BlackWhiteListScoreService;
import com.demo2do.fms.entity.driver.EsbBlackWhiteListScore;

/**
 * @author Guangli Yan
 *
 */
@Service("blackWhiteListScoreService")
public class BlackWhiteListServiceScoreImpl implements BlackWhiteListScoreService {

    @Dao
    private EsbBlackWhiteListScoreDao blackWhiteListScoreDao;

    /* (non-Javadoc)
     * @see com.demo2do.fms.admin.service.supplier.BlackWhiteListScoreService#listByCitizenCode(java.lang.String)
     */
    public List<EsbBlackWhiteListScore> listByCitizenCode(String citizenCode) {

        List<EsbBlackWhiteListScore> blackWhiteListScores = blackWhiteListScoreDao.listByCitizenCode(citizenCode);
        
        return blackWhiteListScores;
    }
    
}
